package com.songlanyun.modules.message.model;

import com.songlanyun.common.drive.ValueObject;
import com.songlanyun.common.enums.MarketingConstant;
import lombok.Data;


/**
 * 活动消息模型
 */
@Data
public class ActivityMessage implements ValueObject, IMessageBody {

    public ActivityMessage() {
    }

    public ActivityMessage(MarketingConstant.ActivityType activityType, Long activityId, String title, String img) {
        this.activityType = activityType;
        this.activityId = activityId;
        this.title = title;
        this.img = img;
    }

    /**
     * 活动类型营销活动内类型(0无活动，1秒杀，2拼团）
     */
    private MarketingConstant.ActivityType activityType;
    /**
     * 活动ID
     */
    private Long activityId;

    /**
     * 活动标题
     */
    private String title;

    /**
     * 活动图片
     */
    private String img;

}
